﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BE
{

	public class Vertex
	{
		public int ID { get; set; }
		public string Name { get; set; }

		public Vertex( string cname )
		{
			Name = cname;
		}

		public Vertex( int cid, string cname )
		{
			ID = cid;
			Name = cname;
		}

		public Vertex() { }

		public bool Equals(Vertex v)
		{
			return ID == v.ID;
		}
	}
}
